import Vuex from 'vuex';
import Vue from 'vue';

Vue.use(Vuex);
let store = new Vuex.Store({
	state: {
		tabbarList: [{
				iconPath: "home",
				selectedIconPath: "home-fill",
				text: '首页',
				customIcon: false,
				pagePath: "/pages/core/index/index"
			},
			{
				iconPath: "grid",
				selectedIconPath: "grid-fill",
				text: '服务',
				customIcon: false,
				pagePath: "/pages/core/service/service"
			},
			{
				iconPath: "scan",
				selectedIconPath: "scan",
				text: '扫一扫',
				midButton: true,
				customIcon: false,
			},
			{
				iconPath: "bell",
				selectedIconPath: "bell-fill",
				count: 23,
				text: '协作',
				customIcon: false,
				pagePath: "/pages/core/chat/chat"
			},
			{
				iconPath: "account",
				selectedIconPath: "account-fill",
				text: '我的',
				customIcon: false,
				pagePath: "/pages/core/mine/mine"
			},
		],
		tabbarConfig: {
			midButtonSize: 70,
			activeColor: "#007aff",
			inactiveColor: "#999"
		}
	},
	actions: {

	},
});

export default store;
